package study.designpattern.proxy;

public class RealImage implements Image{
    private String fileName = null;
    
    public RealImage(String fileName) {
        super();
        this.fileName = fileName;
        loadImage();
    }

    @Override
    public void displayImage() {
        System.out.println("display  " + fileName);
        
    }
    public void loadImage(){
        System.out.println("Loading  " + fileName);
    }

}
